class RenameName < ActiveRecord::Migration
=begin
1.重命名 Post 模型类的 name 字段为 author
=end
  def change
    rename_column Post, :name, :author
  end
end
